<?php
$this->breadcrumbs = array(
    'Settings',
    'Site settings'
);
?>
<div class="box">
    <header>
        <h5><i class="icon"></i>Site settings</h5>
    </header>
    <div class="body">
        <form method="post">
            <div class="control-group">
                <label class="control-label">Site name</label>
                <div class="controls">
                    <input type="text" name="name" value="<?php echo isset($settings['name']) ? $settings['name'] : '' ?>" />
                </div>
            </div>
	    <?php /**
	      <div class="control-group">
	      <label class="control-label">Site logo</label>
	      <div class="controls">
	      <?php
	      //set image
	      $this->widget('ext.elFinder.ServerFileInput', array(
	      'name' => 'logo',
	      'value' => isset($settings['logo']) ? $settings['logo'] : '',
	      'connectorRoute' => '/filemanager/connector',
	      )
	      );
	      ?>
	      <p class="help-block">Click browse then select file or paste link from external</p>
	      </div>
	      </div>

	      <div class="control-group">
	      <label class="control-label">Site sologan</label>
	      <div class="controls">
	      <input type="text" name="sologan" value="<?php echo isset($settings['sologan']) ? $settings['sologan'] : '' ?>" />
	      </div>
	      </div>

	      <div class="control-group">
	      <label class="control-label">Site description</label>
	      <div class="controls">
	      <textarea name="description"><?php echo isset($settings['description']) ? $settings['description'] : '' ?></textarea>
	      </div>
	      </div>
	     */ ?>
            <div class="control-group">
                <label class="control-label">Receiving email (if you want to add more email, please enter to this box like: "email1@gmail.com, email2@gmail.com, ...")</label>
                <div class="controls">
                    <input type="text" name="admin_email" value="<?php echo isset($settings['admin_email']) ? $settings['admin_email'] : '' ?>" />
                </div>
            </div>
	    <div class="control-group">
                <label class="control-label">Why Choose Zodada.com?</label>
                <div class="controls">
		    <textarea name="why_us"><?php echo isset($settings['why_us']) ? $settings['why_us'] : '' ?></textarea>                    
                </div>
            </div>
	    <div class="control-group">
                <label class="control-label">Testimonials</label>
                <div class="controls">
		    <textarea name="testimonial"><?php echo isset($settings['testimonial']) ? $settings['testimonial'] : '' ?></textarea>                    
                </div>
            </div>


    </div>

    <div class="form-actions">
	<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'type' => 'primary', 'label' => 'Submit')); ?>
    </div>
</form>
</div>
</div>